/**$Licence:
 *   Use this however/wherever you like, just don't blame me if it breaks anything.
 *   Copyright (C) 2008 - 2012 xingsheng.zhu@gmail.com All rights reserved.
 */
package com.blazemina.command;


/**
 * <p>An <strong>Command</strong> is an adapter between the contents of an
 * incoming Socket request and the corresponding business logic that should be
 * executed to process this request. The controller (RequestProcessor) will
 * select an appropriate Command for each request, create an instance (if
 * necessary), and call the <code>execute</code> method.</p>
 * @author JackChu
 * @version 1.0.0 2012-1-11 下午2:32:23
 */
public interface Command {
	
	/**
	 * 处理请求，并处理返回信息
	 * 通过{@link Response#write}来发送消息
	 * @param request
	 * @param response
	 */
	//public void execute(Request request, Response response);

}
